import request from '@/utils/request'
// 登录接口定义
export const authLogin = data => {
  return request({
    url: '/auth/login',
    method: 'post',
    data
  })
}
// 获取用户信息
export const authCurrentUser = () => {
  return request({
    url: '/auth/currentUser'
  })
}
